import { ILoginState } from './login/type'
import { ISystemState } from './main/system/type'
import { IDashboardState } from './main/analysis/type'

export interface IRootState {
  name: string
  password: string,
  departmentList: any[],
  roleList: any[]
}

export interface IRootWithModule {
  login: ILoginState,
  system: ISystemState,
  dashboard: IDashboardState
}

export type IStoreType = IRootState & IRootWithModule